#!/bin/bash

if command -v docker 2>/dev/null && docker ps -a | grep -qE "clash" ; then
    echo "Container exists and will be removed"
    docker ps -a | grep "clash" | docker rm -f "clash"
fi
